// import Cookies from 'js-cookie'

const TokenKey = 'P-Token'
// localStorage.setItem('', data)
export function getToken() {
  return sessionStorage.getItem(TokenKey)
}

export function savetToken(token) {
  return sessionStorage.setItem(TokenKey, token)
}

export function delToken() {
  return sessionStorage.removeItem(TokenKey)
}
